/*
 * @ : Copyright (c) 2021 Phytium Information Technology, Inc. 
 *  
 * SPDX-License-Identifier: Apache-2.0.
 * 
 * @Date: 2021-08-31 11:16:49
 * @LastEditTime: 2021-08-31 14:02:57
 * @Description:  This files is for elf parse
 * 
 * @Modify History: 
 *  Ver   Who        Date         Changes
 * ----- ------     --------    --------------------------------------
 */
#ifndef FT_ELF_H
#define FT_ELF_H

#ifdef __cplusplus
extern "C"
{
#endif

#include "ft_types.h"

unsigned long ElfLoadElfImagePhdr(unsigned long addr);
unsigned long ElfLoadElfImageShdr(unsigned long addr);
int ElfIsImageValid(unsigned long addr);
unsigned long ElfExecBootElf(unsigned long (*entry)(int, char *const[]),
							 int argc, char *const argv[]);

#ifdef __cplusplus
}
#endif

#endif // !